package com.ybkj.daijia.server.sp;

import java.io.Serializable;
import java.util.Date;

/**
 * BJ 订单撤销 spmodel 订单撤销接口
 *
 * @author Sakura
 */
public class DdcxMessage implements Serializable {

    private static final long serialVersionUID = -9040602223175067916L;

    /**
     * 无用字段
     */
    private String type = Type.MOREQ_DDCX;
    private String appKey;

    /**
     * BJ 订单撤销（MOREQ_DDCX）
     */
    private String orderNo;// 撤销订单号

    private String canceler;// 撤销人,1：司机撤销2：乘客撤销3：平台撤销

    private Date cancelTime;// 撤单时间,yyyy-MM-ddHH:mm:ss

    private String cancelReason;// 撤单原因,APP固定选项原因和自行编写原因均需传输

    private Double startLat;//预约地纬度   //计算行政区划编号

    private Double startLng;//预约地经度

    /**
     * spmodel 订单撤销接口
     */
    private String address;//上车地点行政区划代码

    //private String orderId;//订单编号（与orderNo重复）

    private Date OrderTime;//订单时间YYYYMMDDhhmmss

    //private Date cancelTime;//订单撤销时间（重复）YYYYMMDDhhmmss

    //private String operator;//撤销发起方，固定取值（与canceler重复）

    private String cancelTypeCode;//撤销类型代码，固定取值

    //private String cancelReason;//撤销或违约原因（与重复）

    public DdcxMessage() {
        super();

    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCanceler() {
        return canceler;
    }

    public void setCanceler(String canceler) {
        this.canceler = canceler;
    }

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getOrderTime() {
        return OrderTime;
    }

    public void setOrderTime(Date orderTime) {
        OrderTime = orderTime;
    }

    public String getCancelTypeCode() {
        return cancelTypeCode;
    }

    public void setCancelTypeCode(String cancelTypeCode) {
        this.cancelTypeCode = cancelTypeCode;
    }

    public Double getStartLat() {
        return startLat;
    }

    public void setStartLat(Double startLat) {
        this.startLat = startLat;
    }

    public Double getStartLng() {
        return startLng;
    }

    public void setStartLng(Double startLng) {
        this.startLng = startLng;
    }

}
